home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / CXX / Microsoft.makefile < prev   
Encoding:
Makefile  |  2000-05-25  |  883 b   |  39 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory CXX
  7. # using the Microsoft compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Microsoft.makefile
  11.  
  12. # Note: this requires the service Pack 3 from
  13. # www.Microsoft.com for successful compilation!
  14. CPP = cl
  15. CPPFLAGS = -GX -GR
  16. OFLAG = -o
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     BikeTest.exe 
  25.  
  26. test: all 
  27.     BikeTest.exe  
  28.  
  29. bugs: 
  30.     @echo No compiler bugs in this directory!
  31.  
  32. BikeTest.exe: BikeTest.obj Bicycle.obj 
  33.     $(CPP) $(OFLAG)BikeTest.exe BikeTest.obj Bicycle.obj 
  34.  
  35.  
  36. Bicycle.obj: Bicycle.cpp Bicycle.h 
  37. BikeTest.obj: BikeTest.cpp Bicycle.h 
  38.  
  39.